xen/arm: Set nr_cpu_ids to available number of cpus
authorVijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>
Mon, 1 Feb 2016 09:26:13 +0000 (14:56 +0530)
committerStefano Stabellini <sstabellini@kernel.org>
Thu, 16 Mar 2017 20:59:21 +0000 (13:59 -0700)
commit1780ea794780cf410fcb857d83add72ee088ff6e
treebd3e9aaf1f21ce555db015c847bc3d153375bbaf
parent42290f02715e62bfe9edf32daac1b224758b7ae4
xen/arm: Set nr_cpu_ids to available number of cpus

nr_cpu_ids for arm platforms is incorrectly set to NR_CPUS
irrespective of the number of cpus supported by platform.

Signed-off-by: Vijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>
Reviewed-by: Julien Grall <julien.grall@citrix.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/setup.c